package com.pd.backend.vo.resp;

import com.pd.backend.map.mapentity.PdAuthUserMapEntity;
import com.pd.backend.vo.UserToken;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName LoginRespVo
 * @Description TODO
 * @date 2023/2/27 19:55
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginRespVo {

    //登录时需是账户启用，登录时更新最后一次登录时间
    private PdAuthUserMapEntity user;

    //鉴权的token
    private UserToken token;

    //权限列表
    private List<String> permissionsList;
}
